<script setup>
import { getHomeDataAPI } from '@/apis/home';
import { onMounted } from 'vue';

const getHomeData = async()=>{
  const res = await getHomeDataAPI()
  console.log(res);
}

onMounted(()=>getHomeData())
</script>
<template>我是home</template>